<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./css/shopping.css">
    <link rel="icon" href="images/favicon.ico">
    <link rel="stylesheet" href="./font/iconfont.css">
</head>
<body>
    <div id="topOperation">
        <div class="left"><span class="iconfont icon-arrowleft"></span>返回</div>
        <div class="center">购物车</div>
        <div class="right" onclick="topOperationEdit()" id="topOperationEdit">编辑</div>
        <div class="right" onclick="topOperationComplete()" id="topOperationComplete">完成</div>
    </div>
    <div id="commodity">
        <div class="itemGoods">
            <div class="itemCheckbox">
                <input type="checkbox" class="checkbox">
            </div>
            <img src="./images/itemGoods.png" alt="">            
            <div class="itemText">
                <div>【山东】金秋红蜜桃</div>
                <div>
                    <div style="color: #b91717;">￥<span class="price">57.80</span></div>
                    <div class="amount">x <span id="initAmount">5</span></div>
                    <div class="editAmount">
                        <button id="sub" onclick="sub()">-</button>
                        <div class="actAmount">5</div>
                        <button id="add" onclick="add()">+</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- <div class="itemGoods">
            <div class="itemCheckbox">
                <input type="checkbox">
            </div>
            <img src="./img/itemGoods1.png" alt="">            
            <div class="itemText">
                <div>【山东】金秋红蜜桃</div>
                <div>
                    <div style="color: #b91717;">￥<span class="price">57.80</span></div>
                    <div class="amount">x <span id="initAmount">5</span></div>
                    <div class="editAmount">
                        <button id="sub" onclick="sub()">-</button>
                        <div class="actAmount">5</div>
                        <button id="add" onclick="add()">+</button>
                    </div>
                </div>
            </div>
        </div> -->
    </div>

    <div id="settlement">
        <div class="left">
            <span class="box"><input type="checkbox" class="selectAll"></span> 全选
        </div>
        <div class="center">
            合计：￥<span id="settlementPrice">0.00</span>
        </div>
        <div class="right" onclick="total()" id="total">
            结算
        </div>
    </div>
    <div class="foot fd-fr jc-sa fixed">
        <a href="index.html" class="fd-c jc-c ai-c">
            <i class="iconfont icon-shouye"></i>
            <p class="f12 mt-5">首页</p>
        </a>
        <a href="classification.html" class="fd-c jc-c ai-c">
            <i class="iconfont icon-fenlei"></i>
            <p class="f12 mt-5">分类</p>
        </a>
        <a href="#" class="fd-c jc-c ai-c">
            <i class="iconfont icon-gouwuche1"></i>
            <p class="f12 mt-5">购物车</p>
        </a>
        <a href="my.html" class="fd-c jc-c ai-c">
            <i class="iconfont icon-wode-weixuan"></i>
            <p class="f12 mt-5">我的</p>
        </a>
    </div>
    <script src="./js/shopping.js"></script>
</body>
</html>